package com.example.openfeign90032.controller;


import com.example.openfeign90032.client.OpenFeignClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OpenFeignController {
    @Autowired
    OpenFeignClient openFeignClient;
    @GetMapping("/hello")
    public String hello() {
        return openFeignClient.helloWorld();
    }

}
